package com.jiangSheng.mall.app.services.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.jiangSheng.mall.app.bean.ConfirmOrder;
import com.jiangSheng.mall.app.bean.Order;
import com.jiangSheng.mall.app.dao.OrderMapper;
import com.jiangSheng.mall.app.services.OrderServices;

public class OrderServicesImpl implements OrderServices{
	
	@Autowired
	private OrderMapper orderMapper;

	@Override
	public int paySuccessGenerateOrder(ConfirmOrder confirmOrder) {
		Order order = new Order();
		
		return orderMapper.paySuccessGenerateOrder(order);
	}

}
